package com.ruoyi.classify.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品分类对象 t_classify
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
public class TClassify extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类id */
    private Long id;

    /** 分类名 */
    @Excel(name = "分类名")
    private String classifyName;

    /** 分类图片 */
    private String classifyImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassifyName(String classifyName) 
    {
        this.classifyName = classifyName;
    }

    public String getClassifyName() 
    {
        return classifyName;
    }
    public void setClassifyImg(String classifyImg) 
    {
        this.classifyImg = classifyImg;
    }

    public String getClassifyImg() 
    {
        return classifyImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classifyName", getClassifyName())
            .append("classifyImg", getClassifyImg())
            .toString();
    }
}
